from typing import List

from pydantic import BaseModel

class NewsBase(BaseModel):
    id : int
    news_id: str
    title: str
    content: str
    class Config:
        orm_mode = True

class NewsCreate(NewsBase):
    pass

class NewsUpdate(NewsBase):
    pass

class NewsDelete(NewsBase):
    pass
